'''
Function:
    定义玩家
author:
    walker
time:
    2020/5/14
'''
class Player():
    def __init__(self,info,num_water_buckets):
        self.row = info[0]
        # 移动前的行
        self.row_pre = info[0]
        self.col = info[1]
        #移动前的列
        self.col_pre = info[1]
        self.display = info[2]
        #移动前player所处位置是什么东西
        self.ori_display = info[2]
        self.num_water_buckets = num_water_buckets
        #player的移动
        self.move_list = []
